package com.ccut.xunfeiSpringboot.service;

import com.ccut.xunfeiSpringboot.dto.AnalyseResumeDTO;
import com.ccut.xunfeiSpringboot.entity.PositionInformation;
import com.ccut.xunfeiSpringboot.entity.RecommendCareers;
import jakarta.servlet.http.HttpServletResponse;

import java.io.IOException;
import java.util.List;

public interface JobService {
    List<PositionInformation> getSelectedJobs();

    void removeJobById(Integer id);

    void addJob(PositionInformation job,HttpServletResponse response) throws Exception;

    Boolean isRecommended(Long userId);

    void recommendJobs(Integer userId, HttpServletResponse response) throws Exception;

    List<RecommendCareers> getRecommendedCareers(Integer userId);

    void searchRecommendedJobs(Integer userId, HttpServletResponse response) throws Exception;

    List<PositionInformation> getInterviewedJobs(Integer userId);

    List<PositionInformation> getNotInterviewedJobs(Integer userId);

    void removeRecommendedCarreeer(Long id);

    void updateJob(Long id);

    void addRecommendedCareer(RecommendCareers recommendCareers, HttpServletResponse httpServletResponse) throws Exception;

    void changeRecommendedCareer(Integer userId, HttpServletResponse response) throws Exception;

    void changeJob(Integer userId, HttpServletResponse response) throws Exception;

    AnalyseResumeDTO analyseResume(Integer userId) throws Exception;

    Boolean userIsInterviewed(Integer userId);
}
